package com.ybkj.o2o.zhuanche.common;

import java.math.BigDecimal;
import java.util.List;


public class PageVo<T> {

  private List<T> content;

  private long totalElements;

  private BigDecimal total;

  private BigDecimal allTotal;

  private BigDecimal thisYearTotal;

  private BigDecimal thisMonthTotal;

  private BigDecimal lastMonthTotal;

  private BigDecimal thisDayTotal;

  private BigDecimal lastDayTotal;
  private BigDecimal nowMoney;
  private BigDecimal imprestMoney;
  private BigDecimal sumMoney; // 租车总押金收入
  private BigDecimal sumMoneyRepay; // 押金退还总额
  private BigDecimal sumMoneySurplus; // 押金剩余总额

  public BigDecimal getSumMoney() {
    return sumMoney == null ? BigDecimal.ZERO : sumMoney;
  }

  public void setSumMoney(BigDecimal sumMoney) {
    this.sumMoney = sumMoney;
  }

  public BigDecimal getSumMoneyRepay() {
    return sumMoneyRepay == null ? BigDecimal.ZERO : sumMoneyRepay;
  }

  public void setSumMoneyRepay(BigDecimal sumMoneyRepay) {
    this.sumMoneyRepay = sumMoneyRepay;
  }

  public BigDecimal getSumMoneySurplus() {
    return sumMoneySurplus == null ? BigDecimal.ZERO : sumMoneySurplus;
  }

  public void setSumMoneySurplus(BigDecimal sumMoneySurplus) {
    this.sumMoneySurplus = sumMoneySurplus;
  }

  public BigDecimal getImprestMoney() {
    return imprestMoney == null ? BigDecimal.ZERO : imprestMoney;
  }

  public void setImprestMoney(BigDecimal imprestMoney) {
    this.imprestMoney = imprestMoney;
  }

  private boolean lastPage;

  public BigDecimal getNowMoney() {
    return nowMoney == null ? BigDecimal.ZERO : nowMoney;
  }

  public void setNowMoney(BigDecimal nowMoney) {
    this.nowMoney = nowMoney;
  }


  public BigDecimal getThisDayTotal() {
    return thisDayTotal == null ? BigDecimal.ZERO : thisDayTotal;
  }

  public void setThisDayTotal(BigDecimal thisDayTotal) {
    this.thisDayTotal = thisDayTotal;
  }

  public List<T> getContent() {
    return content;
  }

  public void setContent(List<T> content) {
    this.content = content;
  }

  public long getTotalElements() {
    return totalElements;
  }

  public void setTotalElements(long totalElements) {
    this.totalElements = totalElements;
  }

  public BigDecimal getTotal() {
    return total == null ? BigDecimal.ZERO : total;
  }

  public void setTotal(BigDecimal total) {
    this.total = total;
  }

  public BigDecimal getAllTotal() {
    return allTotal == null ? BigDecimal.ZERO : allTotal;
  }

  public void setAllTotal(BigDecimal allTotal) {
    this.allTotal = allTotal;
  }

  public BigDecimal getThisYearTotal() {
    return thisYearTotal == null ? BigDecimal.ZERO : thisYearTotal;
  }

  public void setThisYearTotal(BigDecimal thisYearTotal) {
    this.thisYearTotal = thisYearTotal;
  }

  public BigDecimal getThisMonthTotal() {
    return thisMonthTotal == null ? BigDecimal.ZERO : thisMonthTotal;
  }

  public void setThisMonthTotal(BigDecimal thisMonthTotal) {
    this.thisMonthTotal = thisMonthTotal;
  }

  public BigDecimal getLastMonthTotal() {
    return lastMonthTotal == null ? BigDecimal.ZERO : lastMonthTotal;
  }

  public void setLastMonthTotal(BigDecimal lastMonthTotal) {
    this.lastMonthTotal = lastMonthTotal;
  }

  public BigDecimal getLastDayTotal() {
    return lastDayTotal == null ? BigDecimal.ZERO : lastDayTotal;
  }

  public void setLastDayTotal(BigDecimal lastDayTotal) {
    this.lastDayTotal = lastDayTotal;
  }

  public boolean isLastPage() {
    return lastPage;
  }

  public void setLastPage(boolean lastPage) {
    this.lastPage = lastPage;
  }


}
